package com.topboya.linker.model.response;


import java.util.List;

public class NewlyOrgListResponse extends BaseResponse {

    private List<Data> data;

    public class Data {

        private String id;
        private boolean isNewRecord;
        private String orgName;
        private boolean orgInter;
        private String authFlag;
        public void setId(String id) {
            this.id = id;
        }
        public String getId() {
            return id;
        }

        public void setIsNewRecord(boolean isNewRecord) {
            this.isNewRecord = isNewRecord;
        }
        public boolean getIsNewRecord() {
            return isNewRecord;
        }

        public void setOrgName(String orgName) {
            this.orgName = orgName;
        }
        public String getOrgName() {
            return orgName;
        }

        public void setOrgInter(boolean orgInter) {
            this.orgInter = orgInter;
        }
        public boolean getOrgInter() {
            return orgInter;
        }

        public void setAuthFlag(String authFlag) {
            this.authFlag = authFlag;
        }
        public String getAuthFlag() {
            return authFlag;
        }

        @Override
        public String toString() {
            return "Data{" +
                    "id='" + id + '\'' +
                    ", isNewRecord=" + isNewRecord +
                    ", orgName='" + orgName + '\'' +
                    ", orgInter=" + orgInter +
                    ", authFlag='" + authFlag + '\'' +
                    '}';
        }
    }

    public List<Data> getData() {
        return data;
    }

    public void setData(List<Data> data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "NewlyOrgListResponse{" +
                "data=" + data +
                '}';
    }
}
